package com.zkingsoft.rhi.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zkingsoft.rhi.excel.ExcelColumn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author xieguo
 * @since 2020/11/13 11:35
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ExportMovableHistoricalRelics {

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ExcelColumn(value = "序号",col = 1)
    private Integer exportId;

    @ExcelColumn(value = "文物藏品名称",col = 2)
    private String name;

    @ExcelColumn(value = "藏品总登记号",col = 3)
    private String registrationNumber;

    @ExcelColumn(value = "文物藏品数量（件/套）",col = 4)
    private Integer amount;

    @ExcelColumn(value = "文物藏品展出情况",col = 5)
    private String isShow;

    @ExcelColumn(value = "级别",col = 6)
    private String level;

    private Integer souId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
